package observer01;

import observer01.imp.IHanFeiZi;

public class Client {

    public static void main(String[] args) {
        //定义韩非子
        IHanFeiZi hanFeiZi = new HanFeiZ();

        //韩非子在吃饭
        hanFeiZi.haveBreakfast();

        //韩非子开始玩耍
        hanFeiZi.haveFun();
    }
}
